import axios from "@/axios/index";

export const checkToken=()=>{
    return axios({
        method:'get',
        url:'checkToken',
    })
}
export const getMenu=(params)=>{
    return axios({
        method:'get',
        url:'sys/menu/getMenu',
        params:params
    })
}

export const register=(params)=>{
    return axios({
        method:'post',
        url:'sys/user/register',
        data:params
    })
}

export const register1=(params)=>{
    return axios({
        method:'post',
        url:'register',
        data:params
    })
}
